<template>
  <div>
    <p :class="{ pinkStr: dd }">这写出来是个啥啊</p>
  </div>
</template>

<script>
export default {
  name: "Day3ZuoyeApp",

  data() {
    return {
      dd: false,
    };
  },

  mounted() {},

  methods: {},
};
</script>

<style scoped>
.pinkStr {
  color: red;
}
</style>